package com.cangxuan.app.entity;

import java.io.Serializable;

public class UserGoods implements Serializable {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private Integer registrationId;
    private Integer count;

    private String name;        //藏品名称
    private String code;        //藏品编号
    private String image;       //藏品图片



    public UserGoods() {
    }

    public UserGoods(Integer id, Integer userId, Integer goodsId, Integer registrationId, Integer count, String name, String code, String image) {
        this.id = id;
        this.userId = userId;
        this.goodsId = goodsId;
        this.registrationId = registrationId;
        this.count = count;
        this.name = name;
        this.code = code;
        this.image = image;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(Integer registrationId) {
        this.registrationId = registrationId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
